package org.xtremeobjects.domain.model;

import java.util.Collection;

public interface Association {

	public enum AssociationType {
		ASSOCIATION,
		AGREGATION,
		COMPOSITION
	}

	public String getName();

	public Collection<?> getCollection(Object obj);

	public AssociationType getAssociationType();
	
	/**
	 * Returns the clazz of the To end of the association.
	 * @return
	 */
	public Clazz getToClazz();
}